package com.mask.im.business.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


/**
 * @author jian
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_mail_draft")
public class MailDraft {
	//id
	@TableId
	private Integer id;
	//寄件人
	private Integer sender;
	//收件人
	private String email;
	//主题
	private String theme;
	//内容
	private String context;
	//状态
	private Integer status;

	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}

